package cn.niit.pm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Alias("Declare")
public class Declare extends BaseEntity{
    private Integer id;

    private String title;//公告标题
    private String declareName;//发布人
    private String declarePeople;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date declareTime;

    private String employeeName;
    private Integer declareLimit;//发布权限：0-可修改公告，1-不可修改


}
